//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.lizhen.structurepattern.bridgepattern;

import com.lizhen.structurepattern.bridgepattern.impl.Circle;
import com.lizhen.structurepattern.bridgepattern.impl.GreenCircle;
import com.lizhen.structurepattern.bridgepattern.impl.RedCircle;

public class BridgePattern {
    public BridgePattern() {
    }

    public static void main(String[] args) {
        Shape redCircle = new Circle(100, 100, 10, new RedCircle());
        Shape greenCircle = new Circle(100, 100, 10, new GreenCircle());
        redCircle.draw();
        greenCircle.draw();
    }
}
